--#include "data\config\item\SkillBookItemData.lua" once

--[[
处理玩家升级功能
]]
function Skill_OnActorLevelUp( sysarg )
	--[[
	local myLevel = Actor.getIntProperty(sysarg, PROP_CREATURE_LEVEL)	
	local myJob = Actor.getIntProperty( sysarg, PROP_ACTOR_VOCATION )
	local vipType = Actor.getVipType(sysarg)
	for k, v in ipairs( SkillBooKConfig ) do
		if v.jop_id == myJob then
			if vipType == enVIPSupremacy and v.vipActorLv and v.vipActorLv == myLevel then
				local curLevel = Actor.getSkillLevel(sysarg, v.skill_id)
				if curLevel == 0 then
					Actor.startLearnSkill(sysarg, v.skill_id, v.vip_level)
				elseif curLevel <= v.vip_level then
					Actor.setSkillProperty(sysarg, v.skill_id, 1, v.vip_level)
				end
			end
			if v.freeLearnLv then
				if Actor.getSkillLevel(sysarg, v.skill_id) > 0 then
					Actor.setFullAnger(sysarg)
				else
					if v.freeLearnLv == myLevel then
						Actor.startLearnSkill( sysarg, v.skill_id, v.skill_Level)
					end
				end
			end
		end
	end
	]]
end

